﻿using Leeder.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PartsRetrospect.Model
{
    public class CarModel : BaseModel
    {
        /// <summary>
        /// 车辆条码
        /// </summary>
        public static string BarCode = "";
        /// <summary>
        /// VIN码
        /// </summary>
        public static string VinCode = "";
        /// <summary>
        /// 连番码
        /// </summary>
        public static string ManyCode = "";
        /// <summary>
        /// 车身码
        /// </summary>
        public static string BodyCode = "";
        /// <summary>
        /// 车型码
        /// </summary>
        public static string CarTypeCode = "";
        /// <summary>
        /// 车型
        /// </summary>
        public static string CarType = "";
        /// <summary>
        /// 当前气囊数量
        /// </summary>
        public static int AirbagCount = 0;
        /// <summary>
        /// 录入时间
        /// </summary>
        public static DateTime? ScanDate;
        /// <summary>
        /// 录入类型（自动、手动）
        /// </summary>
        public static string ScanType = "";
        /// <summary>
        /// 气囊配置标识
        /// </summary>
        public static string VType = "";
        ///// <summary>
        ///// 气囊配置标识
        ///// </summary>
        //public static List<string> endFlags = "";

        /// <summary>
        /// 清楚记录
        /// </summary>
        public static void Clear()
        {
            BarCode = "";
            VinCode = "";
            ManyCode = "";
            BodyCode = "";
            CarTypeCode = "";
            CarType = "";
            AirbagCount = 0;
            ScanDate = null;
            ScanType = "";
            VType = "";
        }
    }
}
